#include<stdio.h>
#include<stdlib.h>
#include<string.h>

int get=10;
int ft;
int main()
{
     printf("code addr: %p\n",main);
     printf("全局 addr: %p\n",&get);
     printf("全局 addr: %p\n",&ft);
       
     int* men=(int*)malloc(10*sizeof(int));

     char*h=(char*)malloc(10*sizeof(char));
     printf("堆 addr: %p\n",men);
     printf("堆 addr: %p\n",h);

     int a,b,c;

     printf("栈区 addr: %p\n",&a);
     printf("栈区 addr: %p\n",&b);
     printf("栈区 addr: %p\n",&c);
     return 0;
}
